package com.cykj.mapper;



import com.cykj.entity.CyOrderDO;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface OrderMapper {

    // 创建订单
    Integer insertOrder(CyOrderDO cyOrderDO);

    // 查询订单
    CyOrderDO selectOrderById(Integer id);

    // 修改订单超时状态
    Integer updateOrderIsTimeOut(CyOrderDO cyOrderDO);

}
